﻿<Window x:Class="WPFTest.TestWindow_"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="TestWindow_" Height="300" Width="300">
    <Grid>
        <StackPanel>
            <!--<Image  Source="{Binding Image}"></Image>-->
            <ListBox x:Name="dataLB">
                <ListBoxItem HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch">
                    <StackPanel HorizontalAlignment="Stretch" Background="Red">
                        <Button Content="superwolf" HorizontalAlignment="Stretch"></Button>
                    </StackPanel>

                </ListBoxItem>
            </ListBox>
            <TextBlock>
                <TextBlock.Resources>
                    <Style TargetType="TextBlock">
                        <Setter  Property="Foreground" Value="#FFFFFF00"></Setter>
                    </Style>
                </TextBlock.Resources>
                superwolf
            </TextBlock>
            <Border Margin="0" VerticalAlignment="Top" Height="20" BorderBrush="#77969696" BorderThickness="0,0,0,3" Background="#776580AD">
                <TextBlock Grid.Row="0" Text="聪明助理"  Margin="1" Foreground="#cc222222" FontWeight="Bold"/>
            </Border>
            <Border Margin="0" VerticalAlignment="Top" Height="20" BorderBrush="#FF969696" BorderThickness="1" CornerRadius="3">
                <Border.Background>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                        <GradientStopCollection >
                            <GradientStop Color="#1156C110" Offset="0"></GradientStop>
                            <GradientStop Color="#5556C110" Offset="1"></GradientStop>
                        </GradientStopCollection>
                    </LinearGradientBrush>
                </Border.Background>
            </Border>
            <TextBlock>
                sdfupsdf    
                <LineBreak />
                黄行了
            </TextBlock>
        </StackPanel>
    </Grid>
</Window>
